package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.ThemeContent;
import cn.wolfcode.trip.base.domain.ThemeDetail;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface IThemeDetailService {
    /**
     * 分页
     * @param qo
     * @return
     */
    PageInfo query(QueryObject qo);

    /**
     * 新增和编辑
     * @param
     */
    void saveOrUpdate(ThemeDetail themeDetail);

    /**
     * 根据明细id查询明细内容
     * @param id
     * @return
     */
    ThemeContent getContentById(Long id);
}
